<div class="bjui-pageHeader" style="text-align: center;">
	新用户
</div>
			    <form action="${ctx}/user/save"  class="pageForm" data-toggle="validate">
			    <input name="suser.id" type="hidden" value="${user.id!}"/>
			    <input name="tabid" type="hidden" value="${tabid!}"/>
			    <input name="leader" type="hidden" value="${user.leader!}"/>
			        <div class="pageFormContent">
			            <table class="table table-condensed table-hover" width="100%">
			                <tbody>
			                	<tr>
			                		<td>
			                            <label class="control-label x70">入职时间：</label>
			                            <input type="text" name="entrytime" data-toggle="datepicker" data-rule="date" value='${user.entrytime!,dateFormat="yyyy-MM-dd"}' size="15">
			                        </td>
									<td>
										<label class="control-label x70">启用状态：</label>
										<select name="suser.isactive" data-defval="${user.isactive}" data-toggle="selectpicker" data-rule="required">		
											<option value="1">启用</option>
											<option value="2">禁用</option>						   
										</select>
									</td>			                        
			                	</tr>
			                    <tr>
			                        <td>
			                            <label  class="control-label x70">姓名：</label>
			                            <input type="text" data-rule="required" name="suser.realname" value="${user.realname!}"  size="15">
			                        </td>
			                        <td>
			                            <label class="control-label x70">账号：</label>
			                            <input type="text" data-rule="required" name="suser.username" value="${user.username!}" size="15">
			                        </td>
			                    </tr>
								<tr>
			                        <td>
			                            <label  class="control-label x70">工号：</label>
			                            <input type="text" name="suser.code" value="${user.code!}" size="15">
			                        </td>
			                        <td>
			                            <label class="control-label x70">上级领导：</label>
			                            <input type="text" readonly name="leadername" value="${user.leadername!}" size="15" data-toggle="lookup" data-url="${ctx}/user/selectuser?type=one&ids=leader&names=leadername"  data-width="600" data-height="300">
			                        </td>
			                    </tr>
			                </tbody>
			            </table>
			        </div>
			        <div >
			            <ul>
			                <li class="pull-right"><button type="submit" class="btn btn-orange" data-icon="save">保存</button></li>
			            </ul>
			        </div>
			    </form>